<?php
// +----------------------------------------------------------------------
// | 麦沃德科技赋能开发者，助力中小企业发展
// +----------------------------------------------------------------------
// | Copyright (c) 2017～2024  www.wdadmin.cn    All rights reserved.
// +----------------------------------------------------------------------
// | Wdadmin系统产品软件并不是自由软件，不加密，并不代表开源，未经许可不可自由转售和商用
// +----------------------------------------------------------------------
// | Author: MY WORLD Team <bd@maiwd.cn>   www.wdadmin.cn
// +----------------------------------------------------------------------
/**
 * Class DistanceCalculations
 * Desc  计算距离校验
 * Create on 2024/11/11 15:06
 * Create by wangyafang
 */

namespace app\api\validate\wddj\trailer;


use think\Validate;

class DistanceCalculations extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'order_id'=>'require',
    ];

    /**
     * 提示消息
     */
    protected $message = [
        'order_id.require'=>'请输入订单ID',
    ];

    /**
     * 验证场景
     */
    protected $scene = [
        'submit'  => ['order_id'],
    ];
}



 